﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace CodeApi.tool
{
    public class TimesTampHelper
    {
        /// <summary>
        /// 获得当前时间的时间戳
        /// </summary>
        /// <returns></returns>
        public static long getTimesTamp()
        {
            return ((DateTime.Now.ToUniversalTime().Ticks - 621355968000000000) / 10000);
        }
    }
}
